package com.gg.fmallspringboot.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.gg.fmallspringboot.Vo.CategoryVo;
import com.gg.fmallspringboot.entity.Category;
import org.apache.ibatis.annotations.Mapper;
import java.util.List;

@Mapper
public interface CategoryMapper extends BaseMapper<Category> {

    //链接查询
    public List<CategoryVo> selectAllCategories();

    //子查询
    public List<CategoryVo> selectAllCategories2(int parentId);



}
